import request from '@/utils/request'

// 查询会计准则模版列表
export function listFinSysAccountTemp(query) {
  return request({
    url: '/temp/finSysAccountTemp/list',
    method: 'get',
    params: query
  })
}
// 查询会计准则模版列表
export function findTempList(query) {
  return request({
    url: '/temp/finSysAccountTemp/findTempList',
    method: 'get',
    params: query
  })
}

// 查询会计准则模版详细
export function getFinSysAccountTemp(id) {
  return request({
    url: '/temp/finSysAccountTemp/' + id,
    method: 'get'
  })
}

// 保存会计准则模版
export function saveFinSysAccountTemp(data) {
  return request({
    url: '/temp/finSysAccountTemp/save',
    method: 'post',
    data: data
  })
}

// 删除会计准则模版
export function delFinSysAccountTemp(id) {
  return request({
    url: '/temp/finSysAccountTemp/' + id,
    method: 'delete'
  })
}

// 导出会计准则模版
export function exportFinSysAccountTemp(query) {
  return request({
    url: '/temp/finSysAccountTemp/export',
    method: 'get',
    params: query
  })
}
